package com.suke.czx.modules.examstack.exam.service;

import com.suke.czx.modules.examstack.exam.entity.NewsEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author Larry
 * @email lawhw@163.com
 * @date 2018-11-01 23:17:48
 */
public interface NewsService {
	
	NewsEntity queryObject(Integer newsId);
	
	List<NewsEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(NewsEntity news);
	
	void update(NewsEntity news);
	
	void delete(Integer newsId);
	
	void deleteBatch(Integer[] newsIds);
}
